// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:00


// Source File Name:   l.java

package com.zelix;

import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.EventObject;


//            h2, i2, m2, tb

final class l extends KeyAdapter
{

    private final m2 a;

    l(m2 m2_1)
    {
        a = m2_1;
    }

    public void keyPressed(KeyEvent keyevent)
    {
label0:
        {
            boolean flag = tb.b;
            if(keyevent.getKeyCode() != 10)
                break label0;
            if(keyevent.getSource() == a.O)
            {
                a.w();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == ((h2) (a)).u)
            {
                a.p();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == a.P)
            {
                a.x();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == ((h2) (a)).v)
            {
                a.h();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == ((h2) (a)).w)
                a.v();
        }
    }
}